package com.example.common.exception;


import com.example.common.api.ResultCode;

@SuppressWarnings("unused")
public class BizException extends RuntimeException {
    public BizException(String message) {
        super(message);
    }

    public BizException(ResultCode resultCode) {
        super(resultCode.getMessage());
    }

    public BizException(String message, Throwable cause) {
        super(message, cause);
    }
}
